<template>
	<view class="certification-pages">
		<view class="info-block">
			<view class="form-block">
				<view class="form-item">
					<view class="name-item">
						<view class="name">姓名</view>
					</view>
					<view class="input-item">
						<view>{{form.realName}}</view>
					</view>
				</view>
				<view class="form-item">
					<view class="name-item">
						<view class="name">身份证号码</view>
					</view>
					<view class="text">{{form.idNumber}}</view>
				</view>
				<view class="form-item">
					<view class="name-item">
						<view class="name">状态</view>
					</view>
					<view class="status">已实名</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import {
		validate,
		validateIdCard
	} from '@/util/validate.js';
	import {
		getStorage
	} from '@/util/auth.js';
	export default {

		data() {
			return {
				form: {
					realName: '朱瑞华',
					idNumber: '622***********1222',
				},
			}
		},
		methods: {

		},
		onLoad() {}
	}
</script>

<style lang="scss" scoped>
	.certification-pages {
		overflow: hidden;
		min-height: 100vh;
		background-color: #F8FBFF;

		.bg-img {
			width: 100%;
			height: 100%;
			position: absolute;
		}

		.info-block {
			position: relative;
			padding: 30rpx;

			.form-block {
				background-color: #FFF;
				border-radius: 30rpx;
				margin-top: 20rpx;
				padding: 30rpx;

				.form-item:last-child {
					border-bottom: none;
				}

				.form-item {
					width: 100%;
					display: flex;
					align-items: center;
					justify-content: space-between;
					line-height: 100rpx;
					font-size: 30rpx;
					border-bottom: 1px solid #F7F7F7;

					.name-item {
						display: flex;
						align-items: center;

						.must {
							color: #EA0000;
							margin-right: 4rpx;
						}

						.name {
							color: #616161;
						}
					}

					.status {
						margin-left: 20rpx;
						background-color: $success-background;
						color: $success-color;
						height: 54rpx;
						display: flex;
						align-items: center;
						justify-content: center;
						font-size: 28rpx;
						width: 120rpx;
						border-radius: 10rpx;
					}

					.text {
						font-size: 32rpx;
						display: flex;
						align-items: center;
					}
				}
			}

			.btn-item {
				display: flex;
				align-items: center;
				justify-content: center;
				margin-top: 50rpx;
			}
		}
	}
</style>